package start.spring.basic.flowable.service.deploy;

import java.util.List;

import start.spring.basic.flowable.service.IBaseService;
import start.spring.basic.flowable.vo.flowable.ProcessQuery;
import start.spring.basic.flowable.vo.flowable.WfDeployVo;
import start.spring.basic.page.PageQuery;
import start.spring.basic.page.PageResult;

/**
 * @author KonBAI
 * @createTime 2022/6/30 9:03
 */
public interface IWfDeployService extends IBaseService {

	PageResult<WfDeployVo> queryPageList(PageQuery pageQuery, ProcessQuery processQuery);

	PageResult<WfDeployVo> queryPublishList(PageQuery pageQuery, String processKey);

    void updateState(String definitionId, String stateCode);

    String queryBpmnXmlById(String definitionId);

    void deleteByIds(List<String> deployIds);
}
